package com.zbkj.crmeb.agent.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
@Accessors(chain = true)
public class AddAgentRequest implements Serializable {

    @ApiModelProperty(value = "服务商id")
    private Integer id;

    @ApiModelProperty(value = "上级id (0:平台)")
    @NotNull
    private Integer parentId;

    @ApiModelProperty(value = "服务商名称")
    @NotBlank
    private String agentName;

    @ApiModelProperty(value = "联系人")
    @NotBlank
    private String contactPerson;

    @ApiModelProperty(value = "联系电话")
    @NotBlank
    private String contactPhone;

    @ApiModelProperty(value = "可见品牌")
    private String brandIds;

    @ApiModelProperty(value = "可见供应商")
    private String suppliersIds;

    @ApiModelProperty(value = "运费模板id(1:大陆 2:港澳 3:意大利)")
    private String tempId;

    @ApiModelProperty(value = "是否显示供应商(0:不显示  1:显示)")
    @NotNull
    private Integer isShowSupplier;

    @ApiModelProperty(value = "收款账户")
    @NotBlank
    private String bankName;

    @ApiModelProperty(value = "收款账号")
    @NotBlank
    private String bankNo;

    @ApiModelProperty(value = "开户行")
    @NotBlank
    private String createBank;

    @ApiModelProperty(value = "上级加价率")
    @NotNull
    private Integer ratio;

}